package com.uhuijia.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.uhuijia.pojo.usersmall.model.UsersMall;
import com.uhuijia.service.usersmall.UsersMallService;


/**
 * 商品管理Controller
 * <p>Title: ItemController</p>
 * <p>Description: </p>
 * <p>Company: www.itcast.cn</p> 
 * @version 1.0
 */
@Controller
public class UsersMallController {

	@Autowired
	private UsersMallService usersMallService;
	
	@RequestMapping("/get")
	@ResponseBody
	public UsersMall getUsersById(String id) {
		UsersMall usersMall = usersMallService.get(id);
		return usersMall;
	}
	
}
